package com.company.transport;

/**
 * @description:
 * @author: 86133
 * @date: Created in 2020/5/18 21:17
 * @version: ${VERSION}
 * @modified By:
 */
public abstract class Transport {
    private String transportid;
    private String owner;
    private int price;
    private String dateOfPurchase;
    private String GPSPosition;

    public abstract void drivingMethod();
    public abstract void load();
    public abstract void maintain();
    public abstract void addGas();

    public Transport() {
    }

    public Transport(String transportid) {
        this.transportid = transportid;
    }

    public String getTransportid() {
        return transportid;
    }

    public void setTransportid(String transportid) {
        this.transportid = transportid;
    }

    public String getOwner() {
        return owner;
    }

    public void setOwner(String owner) {
        this.owner = owner;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public String getDateOfPurchase() {
        return dateOfPurchase;
    }

    public void setDateOfPurchase(String dateOfPurchase) {
        this.dateOfPurchase = dateOfPurchase;
    }

    public String getGPSPosition() {
        return GPSPosition;
    }

    public void setGPSPosition(String GPSPosition) {
        this.GPSPosition = GPSPosition;
    }
}
